package com.dongdong.service;

import com.dongdong.em.Result;
import com.dongdong.model.TbUser;

public interface UserService {
    TbUser getUserByName(String username);

    int register(TbUser user);

    String generateCode(String phone);

    TbUser getUserName(String username);

    int updatePwdSatl(String username, String md5, String salt);

    Result getUserByBirthday();

}
